package com.bnz.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

    private long total;         //总记录数
    private long totalPage;     //总页数
    private Integer page;       //当前页
    private List<T> rows;       //当前页的记录集合
}
